package com.yyy.dm.provider.service;

import com.yyy.dm.dao.SchedulerSeatMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Map;

@Service
public class SchedulerSeatProviderService {
    @Resource
    private SchedulerSeatMapper schedulerSeatMapper;

    public Integer updateSchedulerSeat(Map map){
        return schedulerSeatMapper.updateSchedulerSeat(map);
    }

    public Integer rollbackSchedulerSeat(String orderNo){
        return schedulerSeatMapper.rollbackSchedulerSeat(orderNo);
    }

    public Integer findSchedulerSeatStatusByScheduleIdAndXY(Map map){
        return schedulerSeatMapper.findSchedulerSeatStatusByScheduleIdAndXY(map);
    }

    public Integer updateSchedulerSeatPay(String orderNo){
        return schedulerSeatMapper.updateSchedulerSeatPay(orderNo);
    }
}
